﻿//C++的输⼊&输出
#include <iostream>
using namespace std;
int main()
{
	int a = 0;
	double b = 0.1;
	char c = 'x';

	cout << a << " " << b << " " << c << endl;
	cout << "hello world" << endl;
	cout << 5 << " " << 3.14 << " " << 'y' << endl;
	return 0;
}


//nullptr
#include<iostream>
using namespace std;
void f(int x)
{
	cout << "f(int x)" << endl;
}
void f(int* ptr)
{
	cout << "f(int* ptr)" << endl;
}

int main()
{
	f(nullptr);

	return 0;
}